@import "https://at.alicdn.com/t/c/font_4500493_ujcqhy2vtcs.css";
@import "@/styles/variable.module";

@font-face {
  font-family: "Bebas Neue";
  src: url("./assets/font/BebasNeue-Regular.ttf");
}

#app {
  font-family: "Bebas Neue";
  width: 100vw;
  height: 100vh;
  // padding: 16px;
  position: relative;
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("@/assets/bg.png");
    background-size: 100% 100%;
    z-index: -1;
    opacity: 0;
  }
}

:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  --fade-in-animation: 0.5s;
}

/* 动画类 */
.fade-in-element {
  animation: fadeIn var(--fade-in-animation) ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 公共布局方式 */
.container {
  display: flex;
  overflow: hidden;
  height: 100%;
  transition: all 0.5s;
  font-family: "Bebas Neue";
}

.mini-container {
  padding: 2.5rem 1.7rem;
  border-radius: 5px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border: none;
  outline: none;
  background: none;
  /* 可以根据需要添加其他样式 */
  cursor: pointer;
}

.card {
  padding: 2em;
}

a {
  text-decoration: none;
  color: inherit;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
}
